﻿#region

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using BuXiaChu.OrderDishes.Model;
using BuXiaChu.OrderDishes.DAL;

#endregion

namespace BuXiaChu.OrderDishes.BLL
{
    public class ApplicationsManager
    {
        /// <summary>
        /// Insert Or Update
        /// </summary>
        public static bool Save(ApplicationsModel obj)
        {
            return ApplicationsDAL.Save(obj);
        }

        public static ApplicationsModel GetApplicationsById(Guid applicationId)
        {
            return ApplicationsDAL.GetApplicationsById(applicationId);
        }

        public static bool Delete(Guid applicationId)
        {
            return ApplicationsDAL.Delete(applicationId);
        }

        public static List<ApplicationsModel> GetAll()
        {
            return ApplicationsDAL.GetAll();
        }
    }
}
